﻿using RBAC.Domain;
using RBAC.Repository.Interfae;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Repository.Impl
{
    public class ProvinceRepository : BaseRepository<Province>, IProvinceRepository
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context"></param>
        public ProvinceRepository(EFcoreContext context) : base(context)
        {

        }
       
        /// <summary>
        /// 显示省份
        /// </summary>
        /// <returns></returns>
        public async Task<List<Province>> GetProvinces()
        {
            return await base.GetAllAsync();
        }
    }
}
